<template>
  <div>
    子组件
    <div>
      <button @click="$emit('my-event', 200)">向父亲再要200万</button>
    </div>
    <p>父亲给的钱是:{{ money }}万</p>
  </div>
</template>

<script>
export default {
  props: ["money"],
  data() {
    return {};
  },
  methods: {},
};
</script>

<style scoped></style>
